<?php

	// require_once 'SqlHelper.class.php';

	$mysql = new SaeMysql();

	$data = $_POST['data'];

	$arr = json_decode($data,true);
	// $sqlHelper = new SqlHelper();
    // print_r($arr);
      $sql = "insert into wx_lottery(wx_lottery_name,wx_lottery_num) 
      values('".$arr[0]."',".$arr[1].")";
      //echo $sql;
      $mysql->runSql($sql);
 
      // mysql_free_result($res);
?>